import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';

class BackButtion extends StatelessWidget {
  GestureTapCallback onTap;

  BackButtion({this.onTap});

  @override
  Widget build(BuildContext context) {
    return GestureDetector(
      onTap: onTap,
      child: Image.asset(
        "picture/icon_back.png",
        package: 'amway_superapp_creator_plugin',
      ),

    );
  }
}

